package com.runfast.waimai.dao.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class RunfastPayrecord implements Serializable {
    private Integer id;

    private Date createtime;

    private String fromuser;

    private Date modiftime;

    private String openid;

    private Integer orderid;

    private String orderno;

    private Integer paytype;

    private String touser;

    private BigDecimal totalprice;

    private String tradeNo;

    private Integer type;

    private Integer userid;

    private String username;

    private Integer apporwx;

    private String info;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public RunfastPayrecord withId(Integer id) {
        this.setId(id);
        return this;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public RunfastPayrecord withCreatetime(Date createtime) {
        this.setCreatetime(createtime);
        return this;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getFromuser() {
        return fromuser;
    }

    public RunfastPayrecord withFromuser(String fromuser) {
        this.setFromuser(fromuser);
        return this;
    }

    public void setFromuser(String fromuser) {
        this.fromuser = fromuser == null ? null : fromuser.trim();
    }

    public Date getModiftime() {
        return modiftime;
    }

    public RunfastPayrecord withModiftime(Date modiftime) {
        this.setModiftime(modiftime);
        return this;
    }

    public void setModiftime(Date modiftime) {
        this.modiftime = modiftime;
    }

    public String getOpenid() {
        return openid;
    }

    public RunfastPayrecord withOpenid(String openid) {
        this.setOpenid(openid);
        return this;
    }

    public void setOpenid(String openid) {
        this.openid = openid == null ? null : openid.trim();
    }

    public Integer getOrderid() {
        return orderid;
    }

    public RunfastPayrecord withOrderid(Integer orderid) {
        this.setOrderid(orderid);
        return this;
    }

    public void setOrderid(Integer orderid) {
        this.orderid = orderid;
    }

    public String getOrderno() {
        return orderno;
    }

    public RunfastPayrecord withOrderno(String orderno) {
        this.setOrderno(orderno);
        return this;
    }

    public void setOrderno(String orderno) {
        this.orderno = orderno == null ? null : orderno.trim();
    }

    public Integer getPaytype() {
        return paytype;
    }

    public RunfastPayrecord withPaytype(Integer paytype) {
        this.setPaytype(paytype);
        return this;
    }

    public void setPaytype(Integer paytype) {
        this.paytype = paytype;
    }

    public String getTouser() {
        return touser;
    }

    public RunfastPayrecord withTouser(String touser) {
        this.setTouser(touser);
        return this;
    }

    public void setTouser(String touser) {
        this.touser = touser == null ? null : touser.trim();
    }

    public BigDecimal getTotalprice() {
        return totalprice;
    }

    public RunfastPayrecord withTotalprice(BigDecimal totalprice) {
        this.setTotalprice(totalprice);
        return this;
    }

    public void setTotalprice(BigDecimal totalprice) {
        this.totalprice = totalprice;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public RunfastPayrecord withTradeNo(String tradeNo) {
        this.setTradeNo(tradeNo);
        return this;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo == null ? null : tradeNo.trim();
    }

    public Integer getType() {
        return type;
    }

    public RunfastPayrecord withType(Integer type) {
        this.setType(type);
        return this;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getUserid() {
        return userid;
    }

    public RunfastPayrecord withUserid(Integer userid) {
        this.setUserid(userid);
        return this;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public RunfastPayrecord withUsername(String username) {
        this.setUsername(username);
        return this;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public Integer getApporwx() {
        return apporwx;
    }

    public RunfastPayrecord withApporwx(Integer apporwx) {
        this.setApporwx(apporwx);
        return this;
    }

    public void setApporwx(Integer apporwx) {
        this.apporwx = apporwx;
    }

    public String getInfo() {
        return info;
    }

    public RunfastPayrecord withInfo(String info) {
        this.setInfo(info);
        return this;
    }

    public void setInfo(String info) {
        this.info = info == null ? null : info.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", createtime=").append(createtime);
        sb.append(", fromuser=").append(fromuser);
        sb.append(", modiftime=").append(modiftime);
        sb.append(", openid=").append(openid);
        sb.append(", orderid=").append(orderid);
        sb.append(", orderno=").append(orderno);
        sb.append(", paytype=").append(paytype);
        sb.append(", touser=").append(touser);
        sb.append(", totalprice=").append(totalprice);
        sb.append(", tradeNo=").append(tradeNo);
        sb.append(", type=").append(type);
        sb.append(", userid=").append(userid);
        sb.append(", username=").append(username);
        sb.append(", apporwx=").append(apporwx);
        sb.append(", info=").append(info);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}